# 1. 创建分表
php artisan baoliao:create-sharded-tables

# 2. 迁移数据到分表
php artisan baoliao:migrate-to-sharded

# 3. 监控分表状态
php artisan baoliao:monitor-tables --repair


php artisan diagnose:table-issue baoliao_post_hot_1


# 清除应用缓存
php artisan cache:clear

# 清除配置缓存
php artisan config:clear

# 清除编译的类文件
php artisan clear-compiled

# 重新生成自动加载文件
composer dump-autoload
